import { createApp } from "vue";
import "./style.css";
import App from "./App.vue";
import router from "./router";
import { createPinia } from "pinia";
import {
  myPiniaPluginOne,
  myPiniaPluginTwo,
  myPiniaPluginThree,
  myPiniaPluginFour,
} from "./plugins";
import piniaPluginPersistedstate from "pinia-plugin-persistedstate";

const pinia = createPinia();

pinia.use(myPiniaPluginOne);
pinia.use(myPiniaPluginTwo);
pinia.use(myPiniaPluginThree);
pinia.use(myPiniaPluginFour);
pinia.use(piniaPluginPersistedstate);

createApp(App).use(pinia).use(router).mount("#app");
